#ifndef _TEST_APP
#define _TEST_APP


#include "ofMain.h"
#include "advancedMovieItem.h"

class testApp : public ofBaseApp{

	public:

		void setup();
		void init();
		void update();
		void draw();

		void keyPressed  (int key);
		void keyReleased(int key);
		void mouseMoved(int x, int y );
		void mouseDragged(int x, int y, int button);
		void mousePressed(int x, int y, int button);
		void mouseReleased(int x, int y, int button);
		void resized(int w, int h);

        void addMovie();
        void movieToTop(int index);

		static const int movieArraySize = 14;
        advancedMovieItem movieArray[movieArraySize];
        int drawOrder[movieArraySize];
		int movieCount;
		ofImage vloer;
        ofTrueTypeFont myFont;

		int width, height;
};

#endif
